using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace SharpChess
{
	/// <summary>
	/// Summary description for Form1.
	/// </summary>
	public class frmDifficulty : System.Windows.Forms.Form
	{
		public System.Windows.Forms.Button btnOK;
		public System.Windows.Forms.Button btnCancel;
		private System.Windows.Forms.GroupBox grpClock;
		private System.Windows.Forms.Label lblClockMovesIn;
		private System.Windows.Forms.Label lblClockMinutes;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		public System.Windows.Forms.GroupBox grpLevel;
		public System.Windows.Forms.TrackBar trkLevel;
        public System.Windows.Forms.Label lblLevel;
		private System.Windows.Forms.Label label4;
		public System.Windows.Forms.RadioButton radLevel;
        public System.Windows.Forms.RadioButton radCustom;
        public System.Windows.Forms.GroupBox grpCustom;
		private System.Windows.Forms.Label label5;
		public System.Windows.Forms.Label lblMaximumSeconds;
        public System.Windows.Forms.NumericUpDown numMoves;
        public System.Windows.Forms.NumericUpDown numMinutes;
		public System.Windows.Forms.Label lblAverageSeconds;
        public System.Windows.Forms.NumericUpDown numMaximumSearchDepth;
        public System.Windows.Forms.CheckBox chkRestrictSearchDepth;
        public System.Windows.Forms.CheckBox chkEnablePondering;
		/// <summary>
		/// Required designer variable.
		/// </summary>
        private System.ComponentModel.Container components = null;

		public frmDifficulty()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDifficulty));
            this.btnOK = new System.Windows.Forms.Button();
            this.btnCancel = new System.Windows.Forms.Button();
            this.chkEnablePondering = new System.Windows.Forms.CheckBox();
            this.grpClock = new System.Windows.Forms.GroupBox();
            this.lblMaximumSeconds = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.numMoves = new System.Windows.Forms.NumericUpDown();
            this.numMinutes = new System.Windows.Forms.NumericUpDown();
            this.lblAverageSeconds = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.lblClockMinutes = new System.Windows.Forms.Label();
            this.lblClockMovesIn = new System.Windows.Forms.Label();
            this.grpLevel = new System.Windows.Forms.GroupBox();
            this.trkLevel = new System.Windows.Forms.TrackBar();
            this.lblLevel = new System.Windows.Forms.Label();
            this.radLevel = new System.Windows.Forms.RadioButton();
            this.grpCustom = new System.Windows.Forms.GroupBox();
            this.label5 = new System.Windows.Forms.Label();
            this.numMaximumSearchDepth = new System.Windows.Forms.NumericUpDown();
            this.chkRestrictSearchDepth = new System.Windows.Forms.CheckBox();
            this.radCustom = new System.Windows.Forms.RadioButton();
            this.grpClock.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.numMoves)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.numMinutes)).BeginInit();
            this.grpLevel.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.trkLevel)).BeginInit();
            this.grpCustom.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.numMaximumSearchDepth)).BeginInit();
            this.SuspendLayout();
            // 
            // btnOK
            // 
            this.btnOK.Location = new System.Drawing.Point(288, 330);
            this.btnOK.Name = "btnOK";
            this.btnOK.Size = new System.Drawing.Size(75, 23);
            this.btnOK.TabIndex = 0;
            this.btnOK.Text = "OK";
            // 
            // btnCancel
            // 
            this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btnCancel.Location = new System.Drawing.Point(368, 330);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(75, 23);
            this.btnCancel.TabIndex = 1;
            this.btnCancel.Text = "Cancel";
            // 
            // chkEnablePondering
            // 
            this.chkEnablePondering.Location = new System.Drawing.Point(16, 160);
            this.chkEnablePondering.Name = "chkEnablePondering";
            this.chkEnablePondering.Size = new System.Drawing.Size(296, 16);
            this.chkEnablePondering.TabIndex = 4;
            this.chkEnablePondering.Text = "&Enable Pondering (Thinking during other player\'s turn)";
            // 
            // grpClock
            // 
            this.grpClock.Controls.Add(this.lblMaximumSeconds);
            this.grpClock.Controls.Add(this.label4);
            this.grpClock.Controls.Add(this.numMoves);
            this.grpClock.Controls.Add(this.numMinutes);
            this.grpClock.Controls.Add(this.lblAverageSeconds);
            this.grpClock.Controls.Add(this.label2);
            this.grpClock.Controls.Add(this.label1);
            this.grpClock.Controls.Add(this.lblClockMinutes);
            this.grpClock.Controls.Add(this.lblClockMovesIn);
            this.grpClock.Location = new System.Drawing.Point(16, 32);
            this.grpClock.Name = "grpClock";
            this.grpClock.Size = new System.Drawing.Size(392, 80);
            this.grpClock.TabIndex = 4;
            this.grpClock.TabStop = false;
            this.grpClock.Text = "Thinking Time";
            // 
            // lblMaximumSeconds
            // 
            this.lblMaximumSeconds.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblMaximumSeconds.Location = new System.Drawing.Point(216, 48);
            this.lblMaximumSeconds.Name = "lblMaximumSeconds";
            this.lblMaximumSeconds.Size = new System.Drawing.Size(32, 20);
            this.lblMaximumSeconds.TabIndex = 16;
            this.lblMaximumSeconds.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label4
            // 
            this.label4.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.label4.Location = new System.Drawing.Point(264, 48);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(120, 16);
            this.label4.TabIndex = 15;
            this.label4.Text = "maximum secs / move";
            this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // numMoves
            // 
            this.numMoves.Location = new System.Drawing.Point(8, 24);
            this.numMoves.Maximum = new decimal(new int[] {
            999,
            0,
            0,
            0});
            this.numMoves.Minimum = new decimal(new int[] {
            1,
            0,
            0,
            0});
            this.numMoves.Name = "numMoves";
            this.numMoves.Size = new System.Drawing.Size(40, 20);
            this.numMoves.TabIndex = 10;
            this.numMoves.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.numMoves.Value = new decimal(new int[] {
            1,
            0,
            0,
            0});
            // 
            // numMinutes
            // 
            this.numMinutes.Location = new System.Drawing.Point(104, 24);
            this.numMinutes.Maximum = new decimal(new int[] {
            999,
            0,
            0,
            0});
            this.numMinutes.Minimum = new decimal(new int[] {
            1,
            0,
            0,
            0});
            this.numMinutes.Name = "numMinutes";
            this.numMinutes.Size = new System.Drawing.Size(40, 20);
            this.numMinutes.TabIndex = 14;
            this.numMinutes.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.numMinutes.Value = new decimal(new int[] {
            1,
            0,
            0,
            0});
            // 
            // lblAverageSeconds
            // 
            this.lblAverageSeconds.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblAverageSeconds.Location = new System.Drawing.Point(216, 24);
            this.lblAverageSeconds.Name = "lblAverageSeconds";
            this.lblAverageSeconds.Size = new System.Drawing.Size(32, 20);
            this.lblAverageSeconds.TabIndex = 13;
            this.lblAverageSeconds.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // label2
            // 
            this.label2.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.label2.Location = new System.Drawing.Point(264, 24);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(112, 16);
            this.label2.TabIndex = 12;
            this.label2.Text = "average secs / move";
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label1
            // 
            this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.label1.Location = new System.Drawing.Point(192, 24);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(8, 16);
            this.label1.TabIndex = 10;
            this.label1.Text = "=";
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // lblClockMinutes
            // 
            this.lblClockMinutes.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.lblClockMinutes.Location = new System.Drawing.Point(144, 24);
            this.lblClockMinutes.Name = "lblClockMinutes";
            this.lblClockMinutes.Size = new System.Drawing.Size(48, 16);
            this.lblClockMinutes.TabIndex = 9;
            this.lblClockMinutes.Text = "minutes";
            this.lblClockMinutes.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // lblClockMovesIn
            // 
            this.lblClockMovesIn.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.lblClockMovesIn.Location = new System.Drawing.Point(40, 24);
            this.lblClockMovesIn.Name = "lblClockMovesIn";
            this.lblClockMovesIn.Size = new System.Drawing.Size(64, 16);
            this.lblClockMovesIn.TabIndex = 7;
            this.lblClockMovesIn.Text = "moves in";
            this.lblClockMovesIn.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // grpLevel
            // 
            this.grpLevel.Controls.Add(this.trkLevel);
            this.grpLevel.Location = new System.Drawing.Point(16, 24);
            this.grpLevel.Name = "grpLevel";
            this.grpLevel.Size = new System.Drawing.Size(424, 72);
            this.grpLevel.TabIndex = 6;
            this.grpLevel.TabStop = false;
            // 
            // trkLevel
            // 
            this.trkLevel.LargeChange = 1;
            this.trkLevel.Location = new System.Drawing.Point(8, 24);
            this.trkLevel.Maximum = 16;
            this.trkLevel.Minimum = 1;
            this.trkLevel.Name = "trkLevel";
            this.trkLevel.Size = new System.Drawing.Size(408, 45);
            this.trkLevel.TabIndex = 6;
            this.trkLevel.Value = 1;
            // 
            // lblLevel
            // 
            this.lblLevel.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblLevel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.lblLevel.Location = new System.Drawing.Point(160, 16);
            this.lblLevel.Name = "lblLevel";
            this.lblLevel.Size = new System.Drawing.Size(32, 24);
            this.lblLevel.TabIndex = 7;
            this.lblLevel.Text = "16";
            this.lblLevel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // radLevel
            // 
            this.radLevel.Checked = true;
            this.radLevel.Location = new System.Drawing.Point(24, 16);
            this.radLevel.Name = "radLevel";
            this.radLevel.Size = new System.Drawing.Size(144, 24);
            this.radLevel.TabIndex = 15;
            this.radLevel.TabStop = true;
            this.radLevel.Text = "General Difficulty Level:";
            // 
            // grpCustom
            // 
            this.grpCustom.Controls.Add(this.label5);
            this.grpCustom.Controls.Add(this.numMaximumSearchDepth);
            this.grpCustom.Controls.Add(this.chkRestrictSearchDepth);
            this.grpCustom.Controls.Add(this.grpClock);
            this.grpCustom.Controls.Add(this.chkEnablePondering);
            this.grpCustom.Enabled = false;
            this.grpCustom.Location = new System.Drawing.Point(16, 112);
            this.grpCustom.Name = "grpCustom";
            this.grpCustom.Size = new System.Drawing.Size(424, 205);
            this.grpCustom.TabIndex = 16;
            this.grpCustom.TabStop = false;
            // 
            // label5
            // 
            this.label5.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
            this.label5.Location = new System.Drawing.Point(192, 128);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(32, 16);
            this.label5.TabIndex = 11;
            this.label5.Text = "ply(s)";
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // numMaximumSearchDepth
            // 
            this.numMaximumSearchDepth.Location = new System.Drawing.Point(152, 128);
            this.numMaximumSearchDepth.Maximum = new decimal(new int[] {
            32,
            0,
            0,
            0});
            this.numMaximumSearchDepth.Minimum = new decimal(new int[] {
            1,
            0,
            0,
            0});
            this.numMaximumSearchDepth.Name = "numMaximumSearchDepth";
            this.numMaximumSearchDepth.Size = new System.Drawing.Size(40, 20);
            this.numMaximumSearchDepth.TabIndex = 9;
            this.numMaximumSearchDepth.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.numMaximumSearchDepth.Value = new decimal(new int[] {
            1,
            0,
            0,
            0});
            // 
            // chkRestrictSearchDepth
            // 
            this.chkRestrictSearchDepth.Location = new System.Drawing.Point(16, 128);
            this.chkRestrictSearchDepth.Name = "chkRestrictSearchDepth";
            this.chkRestrictSearchDepth.Size = new System.Drawing.Size(144, 16);
            this.chkRestrictSearchDepth.TabIndex = 10;
            this.chkRestrictSearchDepth.Text = "Restrict search depth to";
            // 
            // radCustom
            // 
            this.radCustom.Location = new System.Drawing.Point(24, 104);
            this.radCustom.Name = "radCustom";
            this.radCustom.Size = new System.Drawing.Size(64, 24);
            this.radCustom.TabIndex = 17;
            this.radCustom.Text = "Custom";
            // 
            // frmDifficulty
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(458, 365);
            this.Controls.Add(this.lblLevel);
            this.Controls.Add(this.radLevel);
            this.Controls.Add(this.radCustom);
            this.Controls.Add(this.grpLevel);
            this.Controls.Add(this.btnCancel);
            this.Controls.Add(this.btnOK);
            this.Controls.Add(this.grpCustom);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "frmDifficulty";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "Game Difficulty Settings";
            this.grpClock.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.numMoves)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.numMinutes)).EndInit();
            this.grpLevel.ResumeLayout(false);
            this.grpLevel.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.trkLevel)).EndInit();
            this.grpCustom.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.numMaximumSearchDepth)).EndInit();
            this.ResumeLayout(false);

		}
		#endregion
	}
}
